import request from '@/utils/request'

// 查询列表授权
export function plat_list(query) {
  return request({
    url: '/admin/finance/plat_list',
    method: 'get',
    params: query
  })
}
// 修改项目结清状态
export function change_is_price_end(data) {
    return request({
      url: '/admin/finance/plat_handler',
      method: 'post',
      data: data
    })
  }

// 查询列表授权
export function service_list(query) {
    return request({
      url: '/admin/finance/service_list',
      method: 'get',
      params: query
    })
  }
// 请求经理人详情信息
export function get_jlr_info_by_tel(query) {
    return request({
        url: '/admin/finance/get_jlr_info_by_tel',
        method: 'get',
        params: query
      })
}
// 请求项目详细信息 
export function get_company_info_by_eid(query) {
    return request({
        url: '/admin/finance/get_company_info_by_eid',
        method: 'get',
        params: query
      })
}
//服务费打款状态修改 /admin/finance/service_handler_price_state
export function service_handler_price_state(data) {
    return request({
        url: '/admin/finance/service_handler_price_state',
        method: 'post',
        data: data
      })
}
//分配细节
export function service_price_list(params) {
    return request({
        url: '/admin/finance/service_price_list',
        method: 'get',
        params: params
      })
}
// 财务回款次数调整
export function service_handler_price_num(data) {
    return request({
        url: '/admin/finance/service_handler_price_num',
        method: 'post',
        data: data
      })
}
//给别人打款次数更新
export function service_price_change_num(data) {
  return request({
      url: '/admin/finance/service_price_change_num',
      method: 'post',
      data: data
    })
}


// 授权费和服务费角标数量
export function get_num(params) {
    return request({
        url: '/admin/finance/get_num',
        method: 'get',
        params: params
      })
}
// 